package com.iotproject.studyservice.mapper;

import com.iotproject.studyservice.entity.UserCollectionWord;
import com.iotproject.studyservice.entity.vo.CollectionWord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 用户收藏单词 Mapper 接口
 * </p>
 *
 * @author testjava
 * @since 2023-04-06
 */
@Mapper
public interface UserCollectionWordMapper extends BaseMapper<UserCollectionWord> {
    //获取收藏夹单词列表
    List<CollectionWord> getUserCollectionWordList(@Param("userId") String userId, @Param("grade") String grade);
}
